package com.bdsy.system.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.bdsy.system.model.User;

/**
 * ClassName:UserService
 * Description: TODO 添加描述.
 * @author   Administrator
 * @version  
 * @since    JDK 1.8
 */
public interface UserService {

	public List<String> queryAllPerms(String userId);
	
    public User getUsername(String loginame);
	
	public User login(String username ,char[] password);

	public List<Map> getUserList();
	
	boolean addUser(User user);
	
	boolean updateUser(User user);
	
	boolean updatePassWord(User user);
	
	public boolean deleteUserById(List<String> pIds);
	
	public void updateUserDate(Date lastAccessTime,String uid,String userId);
	
	public User getUserByUid(String uid);
	
	public List<Map> getUserName();
	
	public User getUserById(String userId);
	
	public String getLoginPasswordById(String userId);
	
}

